export default {
  code: 200,
  data: {
    menu: [
      {
        name: "employee",
        path: "/employee",
        meta: {
          title: "职员管理",
          icon: "el-icon-coin",
          type: "menu",
        },
        children: [
          {
            name: "employee",
            path: "/employee/index",
            meta: {
              title: "基本信息",
              icon: "el-icon-magic-stick",
              type: "menu",
            },
            component: "employee/index",
          },
          {
            name: "employee-form",
            path: "/employee/form",
            meta: {
              title: "编辑客户档案",
              icon: "el-icon-magic-stick",
              type: "menu",
              hidden: true
            },
            component: "employee/form",
          },
          // 个人信息
          {
            name: "information",
            path: "/employee/information/index",
            meta: {
              title: "个人信息",
              icon: "el-icon-magic-stick",
              type: "menu",
            },
            component: "employee/information",
          },
          {
            name: "information-form",
            path: "/employee/:digest/information",
            meta: {
              title: "个人信息",
              icon: "el-icon-magic-stick",
              type: "menu",
              hidden: true
            },
            component: "employee/information-form",
          },
          // 专项扣除
          {
            name: "exemption",
            path: "/employee/exemption",
            meta: {
              title: "专项扣除",
              icon: "el-icon-magic-stick",
              type: "menu",
              hidden: true
            },
            component: "employee/exemption",
          },
          {
            name: "exemption-form",
            path: "/employee/exemption/:digest",
            meta: {
              title: "专项扣除",
              icon: "el-icon-magic-stick",
              type: "menu",
              hidden: true
            },
            component: "employee/exemption-form",
          }
        ],
      },
      {
        name: "salary",
        path: "/salary",
        meta: {
          title: "薪资管理",
          icon: "el-icon-coin",
          type: "menu",
        },
        children: [
          {
            name: "salary",
            path: "/salary/index",
            meta: {
              title: "职员薪资",
              icon: "el-icon-magic-stick",
              type: "menu",
            },
            component: "salary",
          },
          {
            name: "salary-form",
            path: "/salary/form",
            meta: {
              title: "职员薪资",
              icon: "el-icon-magic-stick",
              type: "menu",
              hidden: true
            },
            component: "salary/form",
          },
          {
            name: "salary-statistic",
            path: "/salary/statistic",
            meta: {
              title: "薪资汇总",
              icon: "el-icon-magic-stick",
              type: "menu",
            },
            component: "salary/statistic",
          },
          {
            name: "salary-import",
            path: "/salary/import",
            meta: {
              title: "导入记录",
              icon: "el-icon-magic-stick",
              type: "menu",
            },
            component: "salary/import",
          },
        ],
      },

      // 客户信息
      {
        name: "clientele",
        path: "/clientele/index",
        meta: {
          title: "客户档案",
          icon: "el-icon-tickets",
          type: "menu",
        },
        component: "clientele/index",
        children: [
          {
            name: "clientele-form",
            path: "/clientele/form",
            meta: {
              title: "客户档案-编辑",
              icon: "el-icon-magic-stick",
              type: "menu",
              hidden: true
            },
            component: "clientele/form",
          }
        ]
      },
      {
        name: "project",
        path: "/project",
        meta: {
          title: "项目档案", type: "menu", icon: "el-icon-list"
        },
        component: "project/index",
        children: [
          {
            name: "project-form",
            path: "/project/form",
            meta: {
              title: "编辑项目档案",
              icon: "el-icon-magic-stick",
              type: "menu",
              hidden: true
            },
            component: "project/form",
          },
          {
            name: "team",
            path: "/project/:id/team",
            meta: {
              title: "编辑项目档案",
              icon: "el-icon-magic-stick",
              type: "menu",
              hidden: true
            },
            component: "project/team",
          },
          {
            name: "team-form",
            path: "/project/:id/team/form",
            meta: {
              title: "编辑项目档案",
              icon: "el-icon-magic-stick",
              type: "menu",
              hidden: true
            },
            component: "project/team-form",
          }
        ]
      },
      {
        name: "mine",
        path: "/mine",
        meta: {
          title: "个人中心",
          icon: "el-icon-UserFilled",
          type: "menu"
        },
        component: "mine"
      }
    ],
    permissions: [
      "list.add",
      "list.edit",
      "list.delete",
      "user.add",
      "user.edit",
      "user.delete",
    ],
    dashboardGrid: [
      "welcome",
      "ver",
      "time",
      "progress",
      "echarts",
      "about",
    ],
  },
  message: "",
};
